<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
      .box{
          display: flex;
          width: 80%;
          height: 100px;
          background-color: pink;
          justify-content: space-around;
          
      }

      span{
          /* width: 40px; */
          height: 20px;
          background-color: purple;
          margin-right: 5px;
          flex: 1;
      }

    </style>
</head>
<body>
    <div class="box">
          <span>1</span><span>2</span><span>3</span>
    </div>
</body>
</html>